// 引入element-plus
import ElementPlus from 'element-plus'
// 引入element-plus样式
import 'element-plus/dist/index.css'
import './assets/main.css'

import { createApp } from 'vue'
import { setupStore } from '@/stores'

import App from './App.vue'
import router from './router'

// 引入echarts
import * as echarts from 'echarts'
import VueEcharts from 'vue-echarts'

export const app = createApp(App)
setupStore(app)
app.component('v-chart', VueEcharts)
app.use(ElementPlus)
app.use(router)

app.mount('#app')
